package com.winit.employeInfo.model;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "duty")
public class Duty implements Serializable{
    @Id
    private String dutycode; //'职位编码',
    private String dutyname; //'职位简称',
    private String dutyfullname; //'职位全称',
    private String deptname; // '所属组织单元',
    private Date replacetime; //'定界时间',
    private Date begindate; //'开始日期'
    private Date enddate; //'结束日期',
    private String isdisable; //'是否失效'

    public String getDutycode() {
        return dutycode;
    }

    public void setDutycode(String dutycode) {
        this.dutycode = dutycode;
    }

    public String getDutyname() {
        return dutyname;
    }

    public void setDutyname(String dutyname) {
        this.dutyname = dutyname;
    }

    public String getDutyfullname() {
        return dutyfullname;
    }

    public void setDutyfullname(String dutyfullname) {
        this.dutyfullname = dutyfullname;
    }

    public String getDeptname() {
        return deptname;
    }

    public void setDeptname(String deptname) {
        this.deptname = deptname;
    }

    public Date getReplacetime() {
        return replacetime;
    }

    public void setReplacetime(Date replacetime) {
        this.replacetime = replacetime;
    }

    public Date getBegindate() {
        return begindate;
    }

    public void setBegindate(Date begindate) {
        this.begindate = begindate;
    }

    public Date getEnddate() {
        return enddate;
    }

    public void setEnddate(Date enddate) {
        this.enddate = enddate;
    }

    public String getIsdisable() {
        return isdisable;
    }

    public void setIsdisable(String isdisable) {
        this.isdisable = isdisable;
    }
}
